BHARAT SEVAK SAMAJ

Windows Programming through Visual Basic

BSS/CT/1802                                                                                                                                                                                                                                            

Time: 2 hrs. Max. Marks: 100

 

I.  Fill in the blanks:                                                                         (10 x 1 = 10)

1.      -------- method is used to add record to recordset.

2.      Variables are defined in separate module called-----------.

3.      Maximum length of variable name in VB is----------.

4.      ----------function converts its numeric argument to a string datatype.

5.      ---------mode is used to append data to an existing file.

6.      Form modules have the extension of------------.

7.      ------------are processed faster than variables.

8.      In----------you can open multiple documents.

9.      SDI stands for------------.

10. -----------is a collection of items with the same name and datatype.

                                                                                                                                         

II. State whether True or False:                                                       (10 x 1 = 10)     

1.      You can add the print method to a form.

2.      The timer control works like an alarm clock.

3.      VB does not support control array.

4.      MDI is an acronym for Main Document Interface.

5.      Winsock is the windows interface to an internet program.

6.      Controls cannot be passed as arguments to procedures.

7.      A shape control can produce six shapes.

8.      Menu items are controls that have properties.

9.      The MsgBox() cannot return any value.

10. The ‘End if’ statement is not needed for a single line if statement.

 

III. Answer any SIX of the following:                                               (6 x 10 = 60)

1.      Differences between arrays and control arrays.

2.      Distinguish between image control and picture control.

3.      What are the different types of modules in VB?

4.      What is OOP’s concept? Explain the OOP’s concept in VB.

5.      Explain the steps used for creating ActiveX Document.

6.      Explain about MDI.

7.      Explain format function with example.

 

IV.                                                                                                         Answer any ONE of the following:                                              (1 x 20 = 20)

1.      Explain file handling techniques used in VB.

2.     What are the differences between Procedures and functions?